#include <iostream>
#include <cmath>
using namespace std;
int main ()
    {
    int a, b, c;
        cout << "a=";
        cin >> a;
        cout << "b=";
        cin >> b;
        cout << "c=";
        cin >> c;
    int a1, b1, c1;
        if ((a < b) && (b < c))
        {
            a1=a*2; b1=b*2; c1=c*2;
        }
        else
        {
            a1=-a; b1=-b; c1=-c;
        }
        cout << "a1=" << a1 << "\n";
        cout << "b1=" << b1 << "\n";
        cout << "c1=" << c1 << "\n";

    return 0;
    }
